<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Title</title>
    <link th:href="@{css/index.css}" rel="stylesheet"/>
</head>
<body>
<form action="/sso/login" method="post">
    <label>用户名</label>
    <input name="username"/>
    <label>密码</label>
    <input name="password"/>
    <input name="service" type="hidden" th:value="${service}"/>
    <span style="color: red" th:text="${msg}"></span>
    <input type="submit" value="登录"/>
</form>
</body>
</html>